<meta charset="<?= getMessageByKey("default.charset") ?>">
<?php

$usrSet = getStat($id);
$usrInfo = mysql_fetch_assoc($usrSet);

?>
<div id="infodiv">
  <div class="infodivtd">
    <?= getMessageByKey("user.profile.info.nick") ?>
  </div>
  <div class="infodivtd">
    <?= $usrInfo['nick'] ?>
  </div>
  <div class="infodivtd">
    <?= getMessageByKey("user.comment.registration") ?>
  </div>
  <div class="infodivtd">
    <?= $usrInfo['registered'] ?>
  </div>
  <div class="infodivtd">
    <?= getMessageByKey("user.stat.email") ?>
  </div>
  <div class="infodivtd">
    <?= $usrInfo['email'] ?>
  </div>
  <div class="infodivtd">
    <?= getMessageByKey("user.stat.messages") ?>
  </div>
  <div class="infodivtd">
    <?= $usrInfo['messages'] ?>
  </div>
  <div class="infodivtd">
    <?= getMessageByKey("user.profile.info.firstname") ?>
  </div>
  <div class="infodivtd">
    <?= $usrInfo['firstname'] ?>
  </div>
  <div class="infodivtd">
    <?= getMessageByKey("user.stat.groups") ?>
  </div>
  <div class="infodivtd">
    <div style="text-align: center; width: 100%">
      <?php
      do {
        echo $usrInfo['groups'] . "<br>";
      } while ($usrInfo = mysql_fetch_assoc($usrSet))
      ?>
    </div>
  </div>
</div>